<?php

class GalleryController extends AdminController {

    public function filters() {
        return array(
            'accessControl',
        );
    }

    public function accessRules() {
        if ($this->menu_privilege == true) {
            $arr_accessrule = array(
                array('allow',
                    'actions' => array('category_list'),
                    'users' => array('@'),
                ),
            );
        } else {
            $arr_accessrule = array(
                array('deny'),
            );
        }
        return $arr_accessrule;
    }

    public function actionCategory_list() {
        
    }

}